home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / OpenDoc / OpenDoc Utilities / Interfaces / TransUtl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-01  |  1.4 KB  |  56 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        TransUtl.h
  3.  
  4.     Contains:    Translation utilities.
  5.  
  6.     Owned by:    Reggie Adkins
  7.  
  8.     Copyright:    © 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <3>     5/24/96    jpa        Fixed header.
  13.          <2>     5/24/96    jpa        1.1MRD: Use pragma internal to eliminate
  14.                                     NOPs.
  15.  
  16.     To Do:
  17. */
  18.  
  19. #ifndef _TRANSUTL_
  20. #define _TRANSUTL_
  21.  
  22. //==============================================================================
  23. // Classes used by this interface
  24. //==============================================================================
  25. class    ODTypeList;
  26. class    ODSession;
  27. class    OrderedCollection;
  28.  
  29. #ifdef _OD_IMPL_SHARE_UTILS_
  30. #pragma import on
  31. #elif defined(PRAGMA_INTERNAL_SUPPORTED)
  32. #pragma internal on
  33. #endif
  34.  
  35. extern "C" {
  36.  
  37. // GetGetDestinationKindsList is used to get a list of possible kinds to translate
  38. // to (translateToList) given a list of kinds (kindList).  The translateFromList 
  39. // paramenter contains a list of indexes that correspond to each entry in the 
  40. // translateToList which indicates which index in the kindList it came from.  The 
  41. // argument to translateFromList may be null in which case it is ignored.
  42. void GetDestinationKindsList(
  43.                 ODTypeList*    kindList,
  44.                 ODTypeList*    translateToList,
  45.                 OrderedCollection* translateFromList,
  46.                 ODSession* session);
  47.  
  48. }    // End of extern "C" {
  49.  
  50. #ifdef _OD_IMPL_SHARE_UTILS_
  51. #pragma import off
  52. #elif defined(PRAGMA_INTERNAL_SUPPORTED)
  53. #pragma internal reset
  54. #endif
  55.  
  56. #endif /* _TRANSUTL_ */